home
***
CD-ROM
|
disk
|
FTP
|
other
***
search
/
Shareware Grab Bag
/
Shareware Grab Bag.iso
/
008
/
mcad.arc
/
D010.MCD
< prev
next >
Wrap
Text File
|
1987-05-08
|
807b
|
43 lines
.MCD 11000 0
.TXT 1 0 1 31
1,31
IMAGINARY AND COMPLEX NUMBERS
.TXT 2 3 5 43
5,43
MathCAD can do the same calculations with
complex and imaginary numbers that it can
do with real numbers. Just type in i or j
(MathCAD uses either one) for the
imaginary part:
.EQN 6 7 1 14
! rd=d ct=10 im=i et=3 zt=15 pr=3 mass length time charge
z1:3+4i
.EQN 1 0 1 14
z2:4-2i
.EQN 0 21 1 20
z1*z2=(20+10i)?
.EQN 0 23 1 20
z1+z2=(7+2i)?
.EQN 2 -44 2 28
e^(π*.25i)=(0.707+0.707i)?
.TXT 1 30 1 16
1,16
... polar form
.EQN 2 -30 1 12
|z1=5?
.TXT 0 20 1 15
1,15
... magnitude
.EQN 2 -20 2 15
z1]=(3-4i)?
.TXT 1 20 1 23
1,23
... complex conjugate
.EQN 2 -20 1 23
sin(π*1i)=11.549i?
.EQN 0 25 1 19
ln(-1)=3.142i?
.TXT 2 -19 1 27
1,27
(Press [F6] to go on ...)